Skip to content

Conversation

@Zaimwa9
Copy link
Contributor

@Zaimwa9 Zaimwa9 commented Oct 30, 2025

Changes:

  • Evaluation context skip segments and identity when called within getEnvironmentFlagsFromDocument
  • Misc typing
  • Moved flagsmithId to id in metadatas

@Zaimwa9 Zaimwa9 requested a review from a team as a code owner October 30, 2025 14:51
@Zaimwa9 Zaimwa9 requested review from emyller and removed request for a team October 30, 2025 14:51
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we try v3.3.0?

private async getEnvironmentFlagsFromDocument(): Promise<Flags> {
const environment = await this.getEnvironment();
const context = getEvaluationContext(environment);
const context = getEvaluationContext(environment, undefined, undefined, true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can we use named arguments here?

}

// Feature types
export interface CustomFeatureMetadata extends FeatureMetadata {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite enjoying the Custom prefix here

Suggested change
export interface CustomFeatureMetadata extends FeatureMetadata {
export interface SDKFeatureMetadata extends FeatureMetadata {

Copy link
Member

@khvn26 khvn26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of minor comments, otherwise good to go IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants